package com.easymin.weixin.mapper;

import com.easymin.weixin.entity.WxApplication;
import com.easymin.weixin.entity.WxApplicationCriteria;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface WxApplicationMapper extends BaseMapper<WxApplication, WxApplicationCriteria, Long> {
  Long countByExample(WxApplicationCriteria example);

  int deleteByExample(WxApplicationCriteria example);

  int deleteByPrimaryKey(Long id);

  int insert(WxApplication record);

  int insertSelective(WxApplication record);

  List<WxApplication> selectByExampleWithRowbounds(WxApplicationCriteria example,
      RowBounds rowBounds);

  List<WxApplication> selectByExample(WxApplicationCriteria example);

  WxApplication selectByPrimaryKey(Long id);

  int updateByExampleSelective(@Param("record") WxApplication record,
      @Param("example") WxApplicationCriteria example);

  int updateByExample(@Param("record") WxApplication record,
      @Param("example") WxApplicationCriteria example);

  int updateByPrimaryKeySelective(WxApplication record);

  int updateByPrimaryKey(WxApplication record);
}
